package com.kma.summer2012.client.presenters.mainPage.widgets;

import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.logical.shared.HasValueChangeHandlers;
import com.google.gwt.user.client.ui.FileUpload;
import com.google.gwt.user.client.ui.FormPanel;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: EUGENE
 * Date: 2/13/13
 * Time: 12:42 AM
 * To change this template use File | Settings | File Templates.
 */
public interface IRightSideBarPresenter {
    public interface Display {
        HasClickHandlers getCreateBtn();

        HasClickHandlers getFindRequestBtn();

        HasClickHandlers getImportRequestBtn();

        HasClickHandlers getManageWorksBtn();

        HasClickHandlers getManageToolsBtn();

        HasClickHandlers getViewMapBtn();

        HasClickHandlers getExportRequestsBtn();

        HasClickHandlers getClosedRequestsBtn();

        void setDate();

        String getRequestIdToFind();

        FileUpload getFileUpload();

        FormPanel getFormPanel();

        HasValueChangeHandlers<Date> getDataPicker();

        void showCreateBtn(Boolean value);

        void showFindRequestBtn(Boolean value);

        void showImportRequestBtn(Boolean value);

        void showManageWorksBtn(Boolean value);

        void showManageToolsBtn(Boolean value);

        void showViewMapBtn(Boolean value);

        void showExportRequestsBtn(Boolean value);

        void showFileUpload(Boolean value);

        void showClosedRequestBtn(Boolean value);
    }

    void setTableID(Integer id);
}
